package com.site.wisdom_construction.entity.personnelModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-03-28 
 */
@ApiModel (value ="入岗教育安全责任书表实体类", description = "EducationLiabilityStatement")
public class EducationLiabilityStatement {
	/**
	 * 入岗教育安全责任书id
	 */
   	@ApiModelProperty(value = "入岗教育安全责任书id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
	@ApiModelProperty(value = "入岗教育安全责任书id", name = "projectId")
	private Integer projectId;

	/**
	 * 安全责任书名称
	 */
   	@ApiModelProperty(value = "安全责任书名称", name = "liabilityName")
	private String liabilityName;

	/**
	 * 安全责任书内容
	 */
   	@ApiModelProperty(value = "安全责任书内容", name = "liabilityContent")
	private String liabilityContent;

	/**
	 * 最后修改时间
	 */
   	@ApiModelProperty(value = "最后修改时间", name = "updateDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date updateDate;

	public EducationLiabilityStatement(){ super(); }

	public EducationLiabilityStatement(Integer id, Integer projectId, String liabilityName, String liabilityContent, Date updateDate) {
		this.id = id;
		this.projectId = projectId;
		this.liabilityName = liabilityName;
		this.liabilityContent = liabilityContent;
		this.updateDate = updateDate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getLiabilityName() {
		return liabilityName;
	}

	public void setLiabilityName(String liabilityName) {
		this.liabilityName = liabilityName;
	}

	public String getLiabilityContent() {
		return liabilityContent;
	}

	public void setLiabilityContent(String liabilityContent) {
		this.liabilityContent = liabilityContent;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", liabilityName='" + liabilityName + '\'' +
				", liabilityContent='" + liabilityContent + '\'' +
				", updateDate=" + updateDate +
				'}';
	}
}
